/*
 * MessageBoxButton : BaseButton 弹出提示框按钮，继承自按钮基类
 */
import QtQuick 2.15

Item {
    id: root

    /* property 定义开始 */
    // 按钮
    property int msgBtnWidth: 105
    property int msgBtnHeight: 38
    property int msgBtnRadius: 4
    property string msgBtnColor: "#FFF"
    property int msgBtnBorderWidth: 1
    property string msgBtnBorderColor: "#D9D9D9"

    // 文字
    property string msgBtnText: "--MsgBtn Default--"
    property int msgBtnFontPixelSize: 19
    property string msgBtnFontColor: "#222222"
    property string msgBtnFontFamily: "Alibaba PuHuiTi"
    /* property 定义结束 */

    BaseButton {
        anchors.fill: parent
        btnWidth: msgBtnWidth
        btnHeight: msgBtnHeight
        btnRadius: msgBtnRadius
        btnColor: msgBtnColor
        btnBorderWidth: msgBtnBorderWidth
        btnBorderColor: msgBtnBorderColor
        btnFontFamily: msgBtnFontFamily
        btnFontColor: msgBtnFontColor
        btnFontPixelSize: msgBtnFontPixelSize
        btnLabelWidth: msgBtnWidth
        btnLabelHeight: msgBtnHeight
        btnText: msgBtnText
        btnIconWidth: 0
        btnIconHeight: 0
    }
}
